{% extends "blog/blog_base.html" %}
{% load i18n %}
{# Copyright (c) 2006-2007, PreFab Software Inc. #}
{# Modified by aaloy #}

{% block "contentbody" %}
{# Display the comment #}
<h1 class="block">{% trans "Visualitzaci&oacute; del comentari" %}</h1>
<div class="comment_display">
	<p>
<h3 id="comentari_preview">	
 <span class="square-blue">{% if comment.person_www %}<a href="{{ comment.person_www }}" rel="nofollow">{% endif %}{{ comment.person_name|striptags }}{% if comment.person_www %}</a>{% endif %} on {% if comment.submit_date %}{{ comment.submit_date|date:"F d, Y" }} at {{ comment.submit_date|time }}{% else %}{% now "F d" %} at {% now "f:i a" %}{% endif %}</span>
 </h3>
 </p>
<div class="column1-unit"><p>{{ comment.comment|urlize|linebreaksbr|removetags:"script embed object frameset frame iframe meta link style" }}</p></div>
</div>
<hr class="clear-contentunit"/>
<a href="javascript: history.go(-1)">{% trans "Tornar al comentari" %}</a>
{% if comment_form.errors %}
    <p>Please correct the following errors: </p>
    <ul>
    {% for field, value in comment_form.errors.items %}
    <li> {{field}} : {{value.0}} </li>
    {% endfor %}
    </ul>
{% endif %}
{% endblock "contentbody" %}
